package bishi.dada.huanju;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @author: 唐小尊
 * @email: 1171702529@qq.com
 * @cate: 2021/09/05 17:20
 */
public class one {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int nextInt = in.nextInt();
        char[][] css = new char[nextInt][nextInt];
        for (char[] cs:css){
            Arrays.fill(cs,'0');
        }
        for (int i=0;i<nextInt;i++){
            int left = i;
            int right = nextInt-i-1;
            css[i][left] = 'x';
            css[i][right] = 'x';
        }
        for (char[] cs:css){
            System.out.println(String.valueOf(cs));
        }
    }
}
